.app-pay {
    width: 100%;
    min-height: calc(100dvh - 75rpx);
    display: flex;
    flex-direction: column;
    background-color: #f8f8fa;
    box-sizing: border-box;
    padding: 30rpx;
    padding-bottom: 300rpx;

    .person-info {
        width: 100%;
        height: 146rpx;
        display: flex;
        align-items: center;
        justify-content: space-between;
        box-sizing: border-box;
        padding: 30rpx;
        background: linear-gradient(225deg, #fffbf9 0%, #ffffff 100%);
        box-shadow: 0rpx 3rpx 6rpx 1rpx rgba(0, 0, 0, 0.1);
        border-radius: 16rpx;

        .info-wrapper {
            display: flex;
            flex-direction: column;
            height: 100%;
            justify-content: space-between;

            > text {
                color: #ff7f36;
                font-weight: 400;
                font-size: 30rpx;

                &:last-child {
                    color: #b6b6b8;
                }
            }
        }

        > image {
            width: 22rpx;
            height: 36rpx;
        }
    }

    .case-info {
        width: 100%;
        box-sizing: border-box;
        padding: 30rpx;
        background-color: white;
        box-shadow: 0rpx 3rpx 6rpx 1rpx rgba(0, 0, 0, 0.1);
        border-radius: 6rpx;
        display: flex;
        flex-direction: column;
        margin-top: 30rpx;

        .case-title {
            color: #333333;
            font-weight: bold;
            font-size: 30rpx;
        }

        .case-date {
            color: #333333;
            font-weight: normal;
            font-size: 24rpx;
            margin-top: 10rpx;
        }

        .case-wrapper {
            width: 100%;
            display: flex;
            align-items: center;
            gap: 20rpx;
            box-sizing: border-box;
            padding: 30rpx 0;
            border-top: 2rpx solid #33333313;
            border-bottom: 2rpx solid #33333313;

            > image {
                width: 164rpx;
                height: 164rpx;
                border-radius: 16rpx;
                flex-shrink: 0;
            }

            .info-wrapper {
                width: 100%;
                height: 164rpx;
                display: flex;
                flex-direction: column;
                justify-content: space-between;
                align-items: flex-start;

                .info-row {
                    width: 100%;
                    display: flex;
                    align-items: center;
                    justify-content: space-between;

                    > text {
                        color: #333333;

                        &:first-child {
                            font-weight: 500;
                            font-size: 30rpx;
                        }

                        &:last-child {
                            font-weight: normal;
                            font-size: 24rpx;
                        }
                    }
                }

                > text {
                    text-align: center;
                    background: #fafafa;
                    color: #33333350;
                    font-weight: 400;
                    font-size: 26rpx;
                    box-sizing: border-box;
                    padding: 3rpx 7rpx;
                }
            }
        }

        .case-row {
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-top: 30rpx;

            > text {
                color: #333333;
                font-weight: 400;
                font-size: 24rpx;
            }
        }
    }

    .payment-methods {
        width: 100%;
        background-color: white;
        padding: 30rpx;
        box-sizing: border-box;
        margin-bottom: 20rpx;

        .payment-title {
            color: #333333;
            font-size: 32rpx;
            font-weight: 500;
            margin-bottom: 20rpx;
            display: block;
        }

        .payment-item {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 25rpx 0;
            border-bottom: 1rpx solid #f0f0f0;

            .payment-left {
                display: flex;
                align-items: center;

                image {
                    width: 40rpx;
                    height: 40rpx;
                    margin-right: 20rpx;
                }

                text {
                    color: #333333;
                    font-size: 30rpx;
                }
            }

            &:last-child {
                border-bottom: none;
            }

            &.payment-active {
                .payment-left text {
                    color: #ff7f36;
                }
            }
        }
    }

    .price-info {
        width: 100%;
        box-sizing: border-box;
        padding: 30rpx;
        background-color: white;
        box-shadow: 0rpx 3rpx 6rpx 1rpx rgba(0, 0, 0, 0.1);
        border-radius: 6rpx;
        display: flex;
        flex-direction: column;
        margin-top: 30rpx;

        .price-title {
            color: #333333;
            font-weight: 400;
            font-size: 30rpx;
        }

        > view {
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .price-row {
            margin-top: 30rpx;

            > text {
                color: #333333;
                font-weight: 400;
                font-size: 26rpx;
            }
        }

        .price-bottom {
            margin-top: 60rpx;

            > text {
                font-size: 30rpx;

                &:first-child {
                    color: #333333;
                    font-weight: bold;
                }

                &:last-child {
                    color: #f54730;
                    font-weight: 400;
                }
            }
        }
    }

    .tip-info {
        width: 100%;
        display: flex;
        flex-direction: column;
        margin-top: 60rpx;

        .tip-title {
            color: #1b1d1f;
            font-weight: 500;
            font-size: 34rpx;
			text-align:center;
			margin-bottom: 20rpx;
        }

        .tip-subtitle {
            // color: #b6b6b8;
            // font-weight: 400;
            font-size: 30rpx;
        }

        .tip-content {
            // color: #b6b6b8;
            font-weight: 400;
            font-size: 28rpx;
			line-height: 1.5;
			.tip-margin{
				margin-bottom:20rpx;
			}
        }
    }

    .pay-button {
        width: calc(100% - 60rpx);
        height: 80rpx;
        background: linear-gradient(to left, #ff7f36 0%, #f54730 100%);
        border-radius: 51rpx;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-weight: 400;
        font-size: 30rpx;
        position: fixed;
        bottom: 100rpx;
    }

    .button-group {
        width: calc(100% - 60rpx);
        display: flex;
        flex-direction: column;
        gap: 30rpx;
        position: fixed;
        bottom: 100rpx;

        .button-item {
            width: 100%;
            height: 80rpx;
            border-radius: 51rpx;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: 400;
            font-size: 30rpx;
 background-color: #ff7f36;
            // &:first-child {
            //     background-color: #ff7f36;
            // }

            // &:last-child {
            //     background-color: #f54730;
            // }
        }
    }
}
